/*
 * Copyright (c) dragonnova Corporation and other Contributors.
 * 
 *  Project Name: dn-server-iot-monitor-web
 *  Description: 
 *  @author songxy  DateTime 2016年12月30日 上午11:15:20 
 *  @email thinkdata@163.com  
 *  @version 1.0
 */

package org.dragonnova.iot.business.cloud.conf;

import org.springframework.util.AlternativeJdkIdGenerator;
import org.springframework.util.IdGenerator;

/**
 * Class Name: Constants.java Description: 常量类
 * 
 * @author songxy DateTime 2016年12月30日 上午11:15:20
 * @company winter
 * @email thinkdata@163.com
 * @version 1.0
 */

public class Constants {

	/**
	 * 注意名称
	 */
	public static final String TAG_QUEUE = "queue_tag";
	public static final String TAG_FILTER_QUEUE = "queue_tag_filter";

	public static final String CACHE_KEY_STAT_COUNT = "stat_count";
	public static final String CACHE_KEY_STAT_DOWNFLOW = "stat_downflow";
	public static final String CACHE_KEY_STAT_UPFLOW = "stat_upflow";

	public static final double MAX_THRESHOLD_TEMPERATURE_VALUE = 35.2;
	public static final double MIN_THRESHOLD_TEMPERATURE_VALUE = 2.2;

	/*
	 * ==========================================================================
	 */
	public static final String TOPIC_ALARM = "Alarm-STAT";
	public static final String TOPIC_NETFLOW = "NetFlow-STAT";
	public static final String TOPIC_PAY = "Pay-STAT";

	/*
	 * ==========================================================================
	 */

	public static IdGenerator idGenerator = new AlternativeJdkIdGenerator();

}
